<?php
/**
 * form.php
 * @author ranuandra
 *
 * 9 Agu 2011 13:09:37
 *
 * 
 */
if(isset($title))
{
	echo '<h1 class="title">'.$title.'</h1>';
}
echo Form::open(URL::base().'menu/save', array('class' => 'formdata', 'targetdata' => '.form'));
?>
<table class="form">
	<tr>
    	<td>Nama Menu</td>
        <td>:</td>
        <td><?php echo Form::input('menu_name', $form['menu_name'], array())?></td>
    </tr>
	<tr>
    	<td>Controller</td>
        <td>:</td>
        <td><?php echo Form::input('controller', $form['controller'], array())?></td>
    </tr>
	<tr>
		<td class="form_label"></td>
		<td></td>
		<td class="form_field"><?php echo Form::submit('submit', 'Save')?></td>
	</tr>
</table>
</form>
<?php 
	Form::close();
?>